<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>词多多代理商平台</title>
    <include file="Index:header" />
    <script type="text/javascript">
        $(function(){
            $(".help-side dl dd:eq(0)").addClass('cur');
            $("#top #topcon .nav li:eq(1)").addClass('cur');
        })
    </script>
    <script src="__PUBLIC__/js/main.js" type="text/javascript" charset="UTF-8"></script>
</head>
<body>
<include file="Index:top"/>
<div id="main">
    <include file="User:left"/>
    <div id="main_right" class="container">
        <div class="title">资料设置
            <button class="button_s green" style="float:right; margin-top:5px; padding:1px 10px" onclick="window.history.go(-1)">返回</button></div>
        <div id="infotab" class="container mt10">
            <ul class="tb cl">
                <li class="a">
                    <a href="__URL__/useredit/userId/{$userInfo['Id']}">基本资料</a>
                </li>
                <li>
                    <a href="__URL__/userpassword/userId/{$userInfo['Id']}">修改密码</a>
                </li>
            </ul>
            <div id="proxyinfo" class="mt30 ml100">
                    <div class="p30" style="padding-top:0px;">
                      <form name="form1" id="form1" class="form" showOnMouseOver="false">
                        <table>
                            <tr>
                                <td align="right">客户名称：<font color="red">*</font></td>
                                <td style="padding-left:15px;">
                                    <input class="input" name="userName" type="text" style="width:200px;" readonly="readonly" value="{$userInfo['Username']}"/>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    真实姓名：<font color="red">*</font>
                                </td>
                                <td style="padding-left:15px;">
                                    <input type="text" class="validate[required,length[2,10]] input" name="realName" style="width:200px;" value="{$userInfo['Realname']}" />
                                </td>
                                <td style="border-left-style:none;"  align="left"><div class="validation_info"></div></td>
                            </tr>
                            <tr>
                                <td align="right">
                                    公司名称：<font color="red">*</font>
                                </td>
                                <td  style="padding-left:15px;">
                                    <input type="text" class="validate[required,length[4,20]] input" name="company" style="width:200px;" value="{$userInfo['Company']}"/>
                                </td>
                                <td style="border-left-style:none;"  align="left"><div class="validation_info"></div></td>
                            </tr>
                            <tr>
                                <td align="right">
                                    手&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;机：<font color="red">*</font>
                                </td>
                                <td  style="padding-left:15px;">
                                    <input type="text" class="validate[required,custom[mobilephone]]" name="mobile" style="width:200px;" value="{$userInfo['Mobile']}" />
                                </td>
                                <td style="border-left-style:none;"  align="left"><div class="validation_info"></div></td>
                            </tr>
                            <tr>
                                <td align="right">
                                    电子邮件：<font color="red">*</font>
                                </td>
                                <td  style="padding-left:15px;">
                                    <input type="text" class="validate[required,custom[email]] input" name="email" style="width:200px;" value="{$userInfo['Email']}" />
                                </td>
                                <td style="border-left-style:none;"  align="left"><div class="validation_info"></div></td>
                            </tr>
                            <tr>
                                <td></td>
                                <td style="padding-left:80px;">
                                    <input class="button green" type="button" onclick="validateForm('#form1','__URL__/usereditsave')" value="修改资料"/>
                                </td>
                            </tr>
                        </table>
                      </form>
                    </div>
            </div>
        </div>
    </div>
</div>
<include file="Index:footer"/>
<script>
    $(function(){
        $("#usertype").sSelect();
    });
</script>
</body>
</html>